package xiangmu.schoolpaper.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xiangmu.schoolpaper.mapper.system.AdminUpdateTemplateScoreMapper;
import xiangmu.schoolpaper.pojo.DTO.AdminUpdateTemplateScoreDTO;
import xiangmu.schoolpaper.service.system.AdminUpdateTemplateScoreService;

@Service
public class AdminUpdateTemplateScoreServiceImpl implements AdminUpdateTemplateScoreService {

    @Autowired
    private AdminUpdateTemplateScoreMapper adminUpdateTemplateScoreMapper;

    @Override
    public int updateTemplateScore(AdminUpdateTemplateScoreDTO dto) {
        return adminUpdateTemplateScoreMapper.updatePaperParameter(dto);
    }
}